﻿namespace LJ.TaskScheduler.Abstractions.Attributes;


[AttributeUsage(AttributeTargets.Class)]
public class TaskSchedulerAttribute(string name, string cronExpression) : Attribute
{
    public string Name { get; } = name;

    public string CronExpression { get; } = cronExpression;
}